package com.ywq.app.dao;

import java.util.List;
import java.util.Map;

import com.ywq.app.domain.ArtReminder;
import com.ywq.app.domain.Channel;
import com.ywq.app.domain.Content;
import com.ywq.common.exception.AppBusinessException;

public interface AuxContentDao {

	public int getIndexListCountByChannel(Map<String, Object> map)
			throws AppBusinessException;

	public List<Channel> getIndexListByChannel(Map<String, Object> map)
			throws AppBusinessException;

	public String getPartentByMark(String mark) throws AppBusinessException;

	public void insertChannel(Channel channel) throws AppBusinessException;

	public Channel getChannelById(String id) throws AppBusinessException;

	public void updateChannel(Channel channel) throws AppBusinessException;

	public List<Content> getChannelContentListById(Map<String, Object> map)
			throws AppBusinessException;

	public int getChannelContentListCountById(Map<String, Object> map)
			throws AppBusinessException;
	
	public void insertContent(Content content) throws AppBusinessException;
	
	public Content getStoryByArtistId(Map<String, Object> map) throws AppBusinessException;
	
	public void deleteChannel(String identifier) throws AppBusinessException;
	
	public void deleteContent(String identifier) throws AppBusinessException;
	
	public void updateContent(Content content) throws AppBusinessException;
	
	public List<ArtReminder> getArtEmailList(Map<String, Object> map) throws AppBusinessException;
	
	public int getArtEmailCount(Map<String, Object> map) throws AppBusinessException;
	
	public void updateArtReminder(ArtReminder artReminder) throws AppBusinessException;
	
	public Channel getChannelByMark(String mark) throws AppBusinessException;

}
